/* ڕێکخستنێن سەرەکی یێن مالپەرێ */
body, html {
    margin: 0;
    padding: 0;
    /* height: 100%;  <-- ئەڤە دڤێت بهێتە ڕەشکرن */
    background-color: #0d0d12;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* overflow: hidden; <-- ئەڤە ژی دڤێت بهێتە ڕەشکرن */
}

/* شاشەیا دەسپێکێ (Splash Screen) */
.splash-screen {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at center, #1a1a24 0%, #0b0c10 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* پشتی 1 سانیە دێ بەرزە بیت */
    animation: hideSplash 0.8s ease-in-out forwards;
    animation-delay: 1s; 
}

/* دیزاینا شووشەیی (Glass Card) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 80px;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6);
    /* ئەنیمیەشنا دەرکەفتنا شووشەی */
    animation: popUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* لۆگۆی ماڵپەڕی */
.logo {
    font-size: 4rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, #ff0055, #ffaa00);
    -webkit-background-clip: text;
    background-clip: text; /* ئەم دێڕە زیاد بکە */
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* --- ئەنیمەیشن (Keyframes) --- */

@keyframes popUp {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes hideSplash {
    0% { opacity: 1; visibility: visible; transform: scale(1); }
    100% { opacity: 0; visibility: hidden; transform: scale(1.1); }
}

@keyframes showContent {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
*{
    margin: 0px;
    padding: 0px;
    font-family: lora;
    box-sizing: border-box;
}
body{
    margin: 0px;
    padding: 0px;
    font-family: lora;
    background-color: #080808;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}

::selection{
    background-color: #e70634;
    color: #080808;
}
/*==hide-Default-scroll-bar==================*/
body::-webkit-scrollbar{
    display: none;
}
body{
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/*==navigation===============================*/
.navigation{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 30px;
    max-width: 1400px;
    margin: auto;
    width: 100%;
}
.navigation .menu-icon{
    cursor: pointer;
    float: right;
    padding: 20px 10px;
    z-index: 107;
}
.navigation .menu-icon .nav-icon{
    background-color: #ffffff;
    display: block;
    height: 2px;
    width: 25px;
    position: relative;
    transition: background 0.2s ease-out; 
}
.navigation .menu-icon .nav-icon::before,
.navigation .menu-icon .nav-icon::after{
    background-color: #fffffc;
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    transition: all ease-out 0.2s;
}
.navigation .menu-icon .nav-icon::before{
    top: 8px;
}
.navigation .menu-icon .nav-icon::after{
    top: -8px;
}
.navigation .menu-btn:checked ~ .menu-icon .nav-icon{
    background-color: transparent;
}
.navigation .menu-btn:checked ~ .menu-icon .nav-icon::before{
    transform: rotate(-45deg);
    top: 0px;
}
.navigation .menu-btn:checked ~ .menu-icon .nav-icon::after{
    transform: rotate(45deg);
    top: 0px;
}
.menu-btn{
    display: none;
}
/*--menu----------------------*/
.menu{
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: #111111f1;
    z-index: 106;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fade 0.3s;
}
.menu li a{
    color: #ffffff;
    margin: 0px 40px;
    font-size: 2rem;
    font-family: Archivo Black;
    transition: all ease 0.3s;
}
.menu li a:hover{
    font-size: 2.3rem;
    color: #e70634;
    transition: all ease 0.3s;
}
.navigation .menu-btn:checked ~ .menu{
    display: flex;
}

@keyframes fade{
    0%{
        opacity: 0;
    
    }
    100%{
        opacity: 1;
    }
}
/*--logo-menu------------------------*/
.logo-menu{
    color: #e70634;
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: 400;
    margin: 0px auto 0px 40px;
    display: flex;
    align-items: center;
    font-family: Archivo Black;
    letter-spacing: 1px;
}
.logo-menu span{
    font-size: 2rem;
    margin-left: 5px;
    font-weight: 700;
    letter-spacing: 2px;
}
/*--search-box------*/
.search-box {
    background-color: #d1d1d111;
    padding: 3px 20px; /* لێرەدا چاککرا */
    border-radius: 20px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
}
.search-box input {
    background-color: transparent;
    border: none;
    outline: none;
    color: #ffffff;
}
.search-box input::placeholder {
    color: #ffffff5e;
}
.search-box button {
    background-color: transparent;
    color: #ffffffc9;
    border: none;
    outline: none;
    cursor: pointer;
}
/*==slider==================================*/
#main-slider{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 1170px;
    width: 100%;
}
.main-slider-box{
    width: 100%;
    height: 450px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #0e0e0ec2;
    position: relative;
    overflow: hidden;
    user-select: none;
}
.main-slider-img{
    width: 100%;
    height: 100%;
}
.main-slider-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main-slider-text{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, #161616b9 35%, rgba(73,73,73,0.23) 64%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px;
}
.main-slider-text .quality,
.more-aboute-movie .quality{
    background-color: #e70634;
    color: #080808;
    font-weight: 600;
    padding: 0px 5px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.main-slider-text .movie-name{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.main-slider-text .movie-name span{
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 400;
    color: rgba(240,240,240, 0.82);
}
.main-slider-text .movie-name strong,
.main-slider-text .movie-name a{
    font-size: 1rem;

    font-weight: 500;
    line-height: 20px;
    color: #dfdfdf;
    letter-spacing: 0.5px;
}
.main-slider-text .category{
    color: #969696;
    font-size: 0.8rem;
    font-weight: 500;
}
.main-slider-text .category a{
    color: #e70634;
    margin: 0px 3px;
}
.rating img{
    height: 10px;
    width: 20px;
    object-fit: contain;
    object-position: center;
}
.rating{
    font-size: 0.8rem;
    color: #ffffff;
    letter-spacing: 1px;
}
.main-slider-text .category-rating{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 20px;
}
.main-slider-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 447px;
    background-color: rgba(27,27,27,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: all ease 0.4s;
    z-index: 2;
}

.main-slider-overlay i {
    font-size: 2rem;
}

/* ل ڤێرە خەلەتییەکە چاک کرا ب یەک خاڵ */
.main-slider-box:hover .main-slider-overlay {
    top: 0px;
    transition: all ease 0.4s;
}
.swiper-button-next,
.swiper-button-prev{
    position: static !important;
    transform: translate(0,0);
    margin: 10px 0px 0px 20px !important;
}
.slider-btns{
    display: flex;
    justify-content: flex-end;
    max-width: 1170px;
    width: 100%;
    margin: 10px auto 0px auto;
}
.swiper-button-next::after,
.swiper-button-prev::after{
    font-size: 25px !important;
    font-weight: 800;
    color: #ffffff;
}
/*==latest==============================*/
#latest{
    max-width: 1170px;
    margin: 30px auto;
    width: 100%;
}
.latest-heading{
    width: 100%;
    padding: 10px 20px;
    background-color: #0e0e0ec2;
    border: 1px solid #181818b9;
}
.latest-heading h1{
    color: #dadada;
    font-size: 1.3rem;
    font-weight: 500;
}
.post-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 35px;
    margin: 20px 0px;
}
.post-box{
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #0e0e0ec2;
    border: 1px solid #161616b9;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}
.post-box .post-img{
    width: 100%;
    height: 100%;
}
.post-box .post-img img{
    width: 100%;
    height: 100%;
    object-position: top center;
    object-fit: cover;
}
.main-slider-text .movie-name a:hover{
    opacity: 0.5;
    transition: all ease 0.3s;
}
/*--page-number----------------*/
.page-number {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #464646;
    margin-top: 50px;
    width: 100%; 
}
.page-number a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    margin: 0px 13px;
    opacity: 0.5;
    transition: all ease 0.3s;
}
.page-number .page-active,
.page-number a:hover{
    opacity: 1;
    transition: all ease 0.3s;
}
/* ژ بیر نەکە د هەمان فایل دا ئەڤێ ژی بگۆڕە بۆ right */
.fix-icon .menu-icon {
    position: fixed;
    left: 40px; /* ل شوینا left دڤێت right بیت */
    top: 40px;
    background-color: #1c1f25;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; 
}
/*==scroll-progress-bar===========*/
#progress{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    position: fixed;
    bottom: 25px;
    right: 25px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    display: grid;
    place-items: center;
    z-index: 105;
}
#progress-value{
    display: block;
    height: calc(100% - 5px);
    width: calc(100% - 5px);
    background-color: #1c1f25;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 0px;
}




/*== About Me Section =========================*/
#about-me {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* بۆ هندێ ل ناڤەڕاستا شاشەیێ جێگیر ببیت */
    padding: 40px 20px;
    max-width: 1170px;
    margin: auto;
}

.about-glass-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* ڕەنگێ شووشەیی یێ تاریک */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    gap: 40px;
    width: 100%;
    animation: popUp 0.8s ease-out forwards; /* ئەنیمەیشنا دەرکەفتنێ */
}

.about-img {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    height: 350px; /* بلا بلنداهی هەبیت */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* لێرەدا چوارچۆڤەیەکێ زۆر تەنک و جوان ددەینێ */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* دەمێ ماوس دچیتە سەر، دێ تشتەکێ جودا لێ هێت */
.about-img:hover {
    border-color: #e70634; /* چوارچۆڤە دێ سۆر بیت */
    transform: translateY(-10px); /* وێنە دێ کێمەکێ بلند بیت */
    box-shadow: 0 20px 40px rgba(231, 6, 52, 0.3);
}

.about-img:hover img {
    transform: scale(1.1); /* وێنە دێ پتر نێزیک بیت */
}

.about-content {
    flex: 2;
    min-width: 300px;
}

.about-content h1 {
    font-size: 3rem;
    color: #ffffff;
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-content h1 span {
    color: #e70634; /* پەیڤا 'من' ب ڕەنگێ سۆر */
}

.about-content h2 {
    font-size: 1.5rem;
    color: #b3b3b3;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
}

.about-content p {
    font-size: 1.1rem;
    color: #d1d1d1;
    line-height: 1.8;
    margin-bottom: 35px;
    font-family: 'lora', serif;
}

/* ستاکێ دوگمەیان */
.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background-color: transparent;
    border: 2px solid #e70634;
    color: #ffffff;
    border-radius: 8px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a:hover {
    background-color: #e70634;
    color: #080808;
    box-shadow: 0 5px 15px rgba(231, 6, 52, 0.4);
    transform: translateY(-4px); /* لڤینا بەرەڤ سەر دەمێ هۆڤەر کرنێ */
}

/* بەشێ شارتی ل دەسپێکێ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
    z-index: 9999;
}

/* دەمێ کلیک ل سەر دهێتە کرن، دێ دیار بیت */
.lightbox:target {
    visibility: visible;
    opacity: 1;
}

/* وێنێ مەزن */
.lightbox img {
    max-width: 120%;
    max-height: 120%;
    border-radius: 20px;
    border: 3px solid #e70634;
}

/* دوگمەیا داخستنێ */
.close-btn {
    position: absolute;
    top: -45px;
    right: 30px;
    left: 680px;
    font-size: 70px;
    color: #e70634;
    text-decoration: none;
}











/*==Making-home-page-responsive======================*/
@media(max-width:1200px){
    #main-slider,
    #latest,
    .slider-btns{
        width: 90%;
    }
    .menu li a{
        margin: 0px;
        font-size: 1.6rem;
    }
    .menu{
        flex-direction: column;
    }
    .close-btn{
        top: -45px;
        right: 30px;
        left: 680px;
        }
}
    @media(max-width:1100px){
    .post-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .close-btn{
        top: -60px;
        right: 30px;
        left: 643px;
        }
}
    @media(max-width:824px){
        .navigation{
            padding: 20px 10px;
            width: 90%;
            }
            .close-btn{
        top: -10px;
        right: 30px;
        left: 520px;
        }
        .logo,
        footer .logo{
            font-size: 1.3rem;
        }
        .close-btn{
        top: -10px;
        right: 30px;
        left: 520px;
        }
        .lightbox img {
            max-width: 100%;
            max-height: 100%;
        }
        .post-container{
            grid-template-columns: 1fr 1fr;
        }
        footer{
            padding: 10px 20px;
            text-align: center;
        }
    }
     @media(max-width:530px){
        .navigation{
            display: grid;
            grid-template-columns: 60px;
            grid-template-rows: 1fr 1fr;
            padding: 20px 0px;
        }
        .menu li a:hover{
            font-size: 1.8rem;
        }
        .post-container{
            grid-gap: 15px;
        }
        .post-box{
            height: 350px;
        }
        footer .copyright{
            font-size: 0.8rem;
        }
        .fix-icon .menu-icon{
            left: 10px;
            top: 0px;
            border-radius: 4px;
        }
        .close-btn{
            left: 400px;
            top: 120px;
        }
        .logo{
            margin: 0px;
        }
        .search-box{
            grid-column-start: 1;
            grid-column-end: 3;
            width: 100%;
            border-radius: 0px;
        }
    }
    @media(max-width:480px){
        .post-container{
            grid-template-columns: 1fr
        }
        .post-box{
            height: 500px;
        }
         .close-btn{
            left: 365px;
            top: 200px;
            font-size: 4rem;
        }
    }

    /*==movie-page====================================*/
    .movie-banner{
        width: 90%;
        max-width: 1400px;
        margin: 10px auto;
        min-height: 520px;
        padding: 60px 40px 40px 40px;
        position: relative;
        display: flex;
        justify-content: center;
    }
    .movie-banner::after {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    /* رێژەیا 0.7 بۆ 0.3 هاتە کێمکرن دا رۆهنتر لێ بهێت */
    background: rgba(32, 32, 32, 0.3); 
    /* کۆما هاتە زێدەکرن و رێژە هاتە کێمکرن */
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.m-banner-img {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.m-banner-img::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    /* رێژەیا 0.7 بۆ 0.1 هاتە کێمکرن */
    background: rgba(32, 32, 32, 0.1); 
    /* کۆما هاتە زێدەکرن */
    background: linear-gradient(-90deg, rgba(37, 37, 37, 0.2) 0%, rgba(15, 15, 15, 0.8) 100%);
}

.m-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-container {
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    position: relative;
}
.title-container{
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.movie-title{
    color: #ffffff;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 50px;
    letter-spacing: 1PX;
}
.more-aboute-movie{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    color: #e9e9e9;
}
.more-aboute-movie .rating,
.more-aboute-movie span{
    margin-right: 20px;
    letter-spacing: 1px;
    font-size: 0.8rem;
}
.language{
    margin-top: 20px;
}
.language span{
    background-color: #dfdfdf0e;
    padding: 5px 10px;
    margin-right: 10px;
    color: #dfdfdf;
    font-size: 1.2rem;
}
.title-bottom{
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
}
.title-bottom .category{
    margin: 40px;
}
.title-bottom .category strong{
    font-weight: 500;
    color: #ffffff;
}
.watch-btn{
    width: 220px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff09;
    border: 1px solid #ffffff2c;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 1px;
    transition: all ease 0.3s;
}
.watch-btn:hover{
    background-color: #e70634;
    transition: all ease 0.3s;
}